// CopyButton.scss
.CopyButton {
  background: var(--primary);
  color: white;
  border: none;
  height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  svg {
    font-size: 18px;
    transition: all 0.2s ease;
  }

  &:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
  }
}

.CopyButtonGuest {
  background: transparent;
  border: 2px solid var(--input-bg);
  color: var(--text-secondary);
  margin-top: 15px;

  &:hover {
    background: rgba(64, 68, 75, 0.3);
    color: var(--text-main);
    border-color: var(--input-bg);
  }
}

// 复制成功动画
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.copied-feedback {
  animation: fadeIn 0.3s ease-out;
}